package cloud.shyidong.main.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

@FeignClient(name = "system", url = "${service.system.url}")
public interface SystemFeign {

    @GetMapping("/user/list")
    Map<String, Object> userList();

}
